<html>
<body>
<div id="header">
<p style="font-family: Times New Roman, serif; font-size: 45pt; padding-top: 17px;">
Listing Green Simulations
</p>
</div>

<div id="main">
<br />
<table>
  <tr>
<!-- Commented out because we decided not to use it and didn't want the consumer
to see it and be confused.
    <th>Source |</th>
-->
    <th>Logged At |</th>
    <th>Power</th>
<!--
    <th>Hour</th>
-->
    <th></th>
    <th></th>
  </tr>

<% @green_simulations.each do |green_simulation| %>
  <tr>
<!--
    <td><%= green_simulation.source_id %></td>
-->
    <td><%= green_simulation.logged_at.strftime("%X") %></td>
    <td><%= green_simulation.power %></td>
<!--
    <td><%= green_simulation.sim_hour %></td>
    <td><%= link_to 'Show', green_simulation %></td>
-->
    <td><%= link_to 'Edit', edit_green_simulation_path(green_simulation) %></td>
    <td><%= link_to 'Destroy', green_simulation, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />
</div>

<div id="footer">
<%= link_to 'New Green Simulation', new_green_simulation_path %> |
<%= link_to 'Power Log', power_logs_path %> |
<%= link_to 'Dashboard', dashboard_path %>
</div>
</body>
</html>